﻿<%@ Page Title="" Language="C#" MasterPageFile="~/article/MasterPage.master" AutoEventWireup="true" CodeFile="tag.aspx.cs" Inherits="article_tag" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ArticleTitle" Runat="Server">
标签分类查看
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ArticleContent" Runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <asp:DataList ID="tagList" runat="server"
    RepeatColumns="2" RepeatDirection="Vertical"
    Width="720" onitemdatabound="tagList_ItemDataBound"  
    >
    <ItemTemplate>
 <div class="block" style="width:335px;height:260px">
<div class="blockBar"><a class="more" href="<%=Request.ApplicationPath %>/article/tagview.aspx?tag=<%#DataBinder.Eval(Container.DataItem,"TagID") %>" title="<%#DataBinder.Eval(Container.DataItem,"TagRemarks") %>">查看更多</a><%#DataBinder.Eval(Container.DataItem,"TagName") %></div>
  <div class="blockList" style="height:auto">
  <ul class="mainlist">
    <asp:Repeater ID="articlelist" runat="server">
        <ItemTemplate>
            <li><a href="Default.aspx?pid=<%#DataBinder.Eval(Container.DataItem,"postID") %>" target="_blank"><%#DataBinder.Eval(Container.DataItem,"Title") %></a>
            </li>
        </ItemTemplate>
    </asp:Repeater>
  </ul>
 </div>
</div>
    </ItemTemplate>
    </asp:DataList>
      <div class="page">
       <webdiyer:AspNetPager ID="AspNetPager1" runat="server"
       PageSize="6"
       AlwaysShow="true"
       OnPageChanged="AspNetPager1_PageChanged"
       UrlPaging="true">
        </webdiyer:AspNetPager>
        </div> 
 </ContentTemplate>
</asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="rightsidebar" Runat="Server">
</asp:Content>

